<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Project Parasy</title>
<style>
body {
font-family: "Lucida Grande", Verdana, Sans;
padding: 10px;
margin: 0px;
background-color: #999;
}

div.error {
background-color: #FFF;
padding: 10px;
font-size: 12px;
max-width: 500px;
border-right: 2px solid #777;
border-bottom: 2px solid #777;
line-height: 20px;
}

h1 {
color: #999;
font-size: 18px;
font-weight: normal;
padding: 2px 0px 10px 0px;
margin: 0px;
}

a:link, a:visited, a:active {
color: #577DE4;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

div#debug {
border-top: 2px solid #999;
font-size: 10px;
color: #333;
clear: both;
opacity: .85;
padding: 5px;
}

div#debug table {
border: 1px solid #CCC;
background-color: #333;
}

div#debug table td {
font-size: 10px;
color: #FFF;
}

span.ver {
font-size: 10px;
color: #CCC;
display: block;
padding: 10px 0px 0px 0px;
}

.red {
color: #F00;
}

.green {
color: #0C0;
}

.tip {
color: #999;
}
</style>
</head>
<body>
<div class="error">
<h1>Project Parasy Environment</h1>
<?php
$version = PHP_VERSION;
if (substr($version, 0, 1) == '5') {
	echo('PHP Version: <strong>' . PHP_VERSION . '</strong><br />--<strong class="green">Geo System Supported</strong>');
} else {
	echo('PHP Version: <strong>' . PHP_VERSION . '</strong><br />--<strong class="red">Geo System Unsupported</strong>');
}
if (function_exists('json_encode')) {
	echo('<br />--<strong class="green">Json Supported</strong>');
} else {
	echo('<br />--<strong class="red">Json Unsupported (View parasy_json_tab.php to enable Zend Framework)</strong>');
}
echo('<br />');
if (function_exists('apache_get_version')) {
	echo('Runtime Environment: <strong><small>' . apache_get_version() . '</small></strong>');
	echo('<br />');
	$_modules = apache_get_modules();
	if (in_array('mod_rewrite', $_modules)) {
		
		echo('-- mod_rewrite: <strong class="green">Supported</strong>');
	} else {
		echo('-- mod_rewrite: <strong class="red">Missing</strong>');
	}
} else {
	echo('Runtime Environment: CGI/FastCGI');
}
echo('<br />');
if (function_exists('mysql_connect')) {
	
	echo('MySQL Client API: <strong class="green">Supported</strong>');
} else {
	echo('MySQL Client API: <strong class="red">Missing</strong>');
}
?>
<span class="ver">Project Parasynthesis | Based on Discuz! 5.5.0 | Thanks to Livid</span>
</div>
</body>
</html>